﻿@using Abp.Web.Mvc.Extensions
@using Akso.Authorization
@using Akso.Web.Navigation
@model Akso.Web.Areas.FinanceModule.Models.Bills.BillsViewModel
@{
    ViewBag.CurrentPageName = PageNames.App.Business.Bills;//定位菜单位置
}
@section Scripts
{
    @Html.IncludeScript("~/Areas/FinanceModule/Views/Bills/_CreateOrEditIncomeModal.js")
@Html.IncludeScript("~/Areas/FinanceModule/Views/Bills/_CreateOrEditExpendModal.js")
    @Html.IncludeScript("~/Areas/FinanceModule/Views/Bills/Index.js")
}
<div class="row margin-bottom-5">
    <!--页面头区域，显示摘要信息-->
    <div class="col-xs-6">
        <div class="page-head">
            <div class="page-title">
                <h1>
                    <span>@L("Pages_FinanceModule_Bills_Head")</span> <small>@L("Pages_FinanceModule_Bills_HeadInfo")</small>
                </h1>
            </div>
        </div>
    </div>
    <div class="col-xs-6 text-right">

        @if (IsGranted(AppPermissions.Pages_FinanceModule_Bills_Create))
        {
            <button id="CreateNewButton" class="btn btn-primary blue"><i class="fa fa-plus"></i> @L("Pages_FinanceModule_Bills_Create")</button>
            <button id="CreateExpendButton" class="btn btn-primary blue"><i class="fa fa-plus"></i> @L("Pages_FinanceModule_Bills_CreateExpend")</button>
        }

    </div>
</div>
<div class="portlet light">
    <!--显示数据区域-->
    <div class="portlet-title portlet-title-filter">
        <!--查询区域-->
        <div class="inputs inputs-full-width">
            <div class="portlet-input">
                <form>
                    <div class="input-group">
                        <input id="DataTableFilter" class="form-control" placeholder="@L("SearchWithThreeDot")" type="text" value="@Model.FilterText" />
                        <span class="input-group-btn">
                            <button id="GetListButton" class="btn default" type="submit"><i class="icon-magnifier"></i></button>
                        </span>
                    </div>
                </form>
            </div>
        </div>
    </div>

    <div class="portlet-body">
        <!--显示数据的网格区域-->
        <div id="DataTable"></div>
    </div>
</div>